<%@ page contentType="text/html;charset=UTF-8" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>


<h3>Klasa ${oneClass.className}</h3>

<h5>Uczniowie:</h5>

<c:forEach varStatus="status" items="${studentList}" var="student">
 ${status.count}. ${student.firstName} ${student.lastName}<br />
</c:forEach>

<h5 style="padding-top: 15px">Nauczyciele:</h5>

<c:forEach varStatus="status" items="${teacherList}" var="teacher">
 ${status.count}. ${teacher.firstName} ${teacher.lastName}<br />
</c:forEach>